package com.yanfan.maintain.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 人员绩效考核表(Evaluation)实体类
 *
 * @author makejava
 * @since 2023-01-09 10:04:29
 */
public class Evaluation implements Serializable {
    private static final long serialVersionUID = 744756504727451933L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 被评分用户ID
     */
    private Long userId;
    /**
     * 被评分用户称昵
     */
    private String userName;
    /**
     * 得分
     */
    private Double grade;
    /**
     * 状态
     */
    private Long state;
    /**
     * 评分人
     */
    private Long scorer;

    /**
     * 评分人名称
     */
    private String scorerName;
    /**
     * 评分时间
     */
    private Date gradeDate;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 考核年度
     */
    private String assessYear;
    /**
     * 考核月份
     */
    private String assessMonth;
    /**
     * 所属部门
     */
    private String deptName;
    /**
     * 所属部门
     */
    private String deptId;
    /**
     * 岗位
     */
    private String positionName;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getScorer() {
        return scorer;
    }

    public void setScorer(Long scorer) {
        this.scorer = scorer;
    }

    public String getScorerName() {
        return scorerName;
    }

    public void setScorerName(String scorerName) {
        this.scorerName = scorerName;
    }

    public Date getGradeDate() {
        return gradeDate;
    }

    public void setGradeDate(Date gradeDate) {
        this.gradeDate = gradeDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getAssessYear() {
        return assessYear;
    }

    public void setAssessYear(String assessYear) {
        this.assessYear = assessYear;
    }

    public String getAssessMonth() {
        return assessMonth;
    }

    public void setAssessMonth(String assessMonth) {
        this.assessMonth = assessMonth;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
}

